<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>{cms>$res.title}-{cms>$tpl.wxname}</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes" />
		<meta name="viewport" content="initial-scale=1, user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<meta charset="utf-8">
		<link href="{cms>:RES}/css/ktv/style.css" rel="stylesheet" type="text/css" />
		
		<style>
			html,body {
				margin: 0;
				padding: 0;
				height: 100%;
			}
			
			._container {
				min-height: 100%;
				height: auto !important;
				height: 100%;
				/*IE6不识别min-height*/
				position: relative;
			}
			
			._header {
				background: #ff0;
				padding: 10px;
			}
			
			._page {
				width: 100%;
				margin: 0 auto;
				padding-bottom: 35px; /*等于footer的高度*/
			}
			
			._footer {
				position: absolute;
				bottom: 0;
				width: 100%;
				height: 35px; /*脚部的高度*/
				clear: both;
			}
		</style>
	</head>
	
	<body>
		<div class="_container">
			<div class="header">
				<br/>
			</div>
		
			<div class="_page clearfix">
				<div class="content">
					<!-- <span class="marginb" style="text-align: center;">
						<h3>{cms>$res.title}</h3>
						<span id="post-date">{cms>$res.createtime|date="y-m-d",###}</span> 
					</span>-->
					<eq name="res.showpic" value="1">
						<div class="showpic"  style="text-align: center;">
							<img src="{cms>$res.pic}" />
						</div> 
					</eq>
					<php>echo htmlspecialchars_decode($res['info'])</php>
				</div>
			</div>
		
			<div class="_footer">
				<eq name="copyright" value="0">
					<div class="copyright"  >
						<php>echo htmlspecialchars_decode(C('copyright'))</php>
					</div>
				</eq>
			</div>
		</div>
		
		<div style="display:none"><php>echo htmlspecialchars_decode($tpl['tongji'])</php></div>
	</body>
</html>